package com.huang.design.structural.adapter;

//翻译器
public class Zh_JPTranslator implements Translator{
    @Override
    public String translate(String content) {

        if("nihao".equals(content)){
            return "空你几哇";
        }
        return "xxxxxxxxxxxxxxxxxxxx";
    }
}
